package com.yuyou.fn.educational.discount;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by wens on 2017/7/24.
 */
public class DiscountResultSet extends ArrayList<DiscountResult> {

    public void add(Long studentId , BigDecimal discount , List<Long> classIds ){
        if(studentId == null || discount == null || classIds == null || classIds.isEmpty() ){
            return ;
        }
        add(new DiscountResult(studentId, discount ,classIds )) ;
    }

}
